#!/bin/sh

if [ ! -d "/var/log/nft" ]; then
  sudo mkdir -p /var/log/blockstorage
fi

if [ ! -f "/var/log/nft/server.log" ]; then
  sudo touch /var/log/nft/server.log
fi

/usr/local/bin/nftserver